<!DOCTYPE html>
<html>
  <head>
    <title>FileWriter Example</title>

    <script type="text/javascript" charset="utf-8" src="js/phonegap-1.0.0.js"></script>
    <script type="text/javascript" charset="utf-8" src="js/test.js"></script>
    <script type="text/javascript" charset="utf-8">

    // Wait for PhoneGap to load
    //
    function onload(){
    	document.addEventListener("deviceready", onDeviceReady(), false);
    }

    // PhoneGap is ready
    //
    function onDeviceReady() {
    }
    
    function testFunc(){
    	alert('test1');
    }

    </script>
  </head>
  <body onLoad="onload()">
    <h1 onclick="loadFS()">Example</h1>
    <p>Write File</p>
  </body>
</html>